projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21fefa2
)
Speed icon matching on Magellan output when we dont' have an icon to match.
author
robertl
<robertl>
Sat, 2 Sep 2006 21:13:38 +0000
(21:13 +0000)
committer
robertl
<robertl>
Sat, 2 Sep 2006 21:13:38 +0000
(21:13 +0000)
magproto.c
patch
|
blob
|
history
diff --git
a/magproto.c
b/magproto.c
index 2f0dbd923099991cebbc804eb8a4ba7e7bce0964..cee523c5bc4d6e305857e612461230146e2b8be2 100644
(file)
--- a/
magproto.c
+++ b/
magproto.c
@@
-1041,6
+1041,7
@@
mag_find_descr_from_token(const char *token)
}
for (i = icon_mapping; i->token; i++) {
+ if (token[0] == 0) break;
if (case_ignore_strcmp(token, i->token) == 0)
return i->icon;
}